package com.pine.generator.config;

import lombok.Data;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * <p>
 * 代码生成配置类（结构与generatorConfig.yaml一致）
 * </p>
 *
 * @author pine manage
 * @since 2024-11-07
 */
@Data
public class GeneratorCodeConfig {

    private MysqlConfig mysqlConfig;

    private ProjectStructConfig projectStructConfig;

    private CustomConfig customConfig;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 枚举名称映射(实体类属性名-枚举名)
     */
    private Map<String, String> enumNameMap = new LinkedHashMap<>();
}
